how to find armstrong number in java